@SuppressWarnings("unchecked")
	protected <T> void doGetAll(T[] array, int index, int len) {
		for (int i=0; i<len; i++) {
			array[i] = (T) doGet(index+i);
		}
	}
Helper method to fill the specified elements in an array.

@param array	array to store the list elements
@param index	index of first element to copy
@param len	number of elements to copy
@param <T> type of elements stored in the list
jphp-runtime/src/php/runtime/memory/support/IList.java