code: public static void copyToArray(Collection<Object> collection, Object[] objects)
  	{
  		System.arraycopy(collection.toArray(), 0, objects, 0, objects.length);
  	}
docs: Copy collection objects to a given array
  
  @param collection
  the collection source
  @param objects
  array destination