// Use this function public void increaseSize() { String[] temp = new String[original.length + 1]; for (int i = 0; i < original.length; i++){ temp[i] = original[i]; } original = temp; }