code: public static String[] appendStrArray(String[] arr, String str) {
  		String[] newArr = new String[arr.length + 1];
  		System.arraycopy(arr, 0, newArr, 0, arr.length);
  		newArr[arr.length] = str;
  		return newArr;
  	}
docs: Append a String at end of String array