code: public static <E> E[] asArray(List<E> input, E[] newArray) {
  		return input.toArray(newArray);
  	}
docs: As array.
  
  @param <E> the element type
  @param input the input
  @param newArray the new array
  @return the e[]