Is it possible to add a string to beginning of String array without iterating the entire array.
try
String[] a = {"1", "2"}; String[] a2 = new String[a.length + 1]; a2[0] = "0"; System.arraycopy(a, 0, a2, 1, a.length);