code: public static String[] asStringArray(List<String> input) {
  		String[] result = new String[input.size()];
  
  		for (int i = 0; i < result.length; i++) {
  			result[i] = input.get(i);
  		}
  
  		return result;
  	}
docs: As string array.
  
  @param input the input
  @return the string[]