code: public static String[] toStringArray(Collection<String> items) {
  		String[] result = new String[items.size()];
  		int i = 0;
  		for(String s : items) {
  			result[i++] = s;
  		}
  		return result;
  	}
docs: Convert a collection of strings into a string array.
  
  @param items
  @return