public Object[] toArray(int index, int len) {
		Object[] array = new Object[len];
		doGetAll(array, index, len);
        return array;
	}
Returns an array containing the specified elements in this list.

@param index	index of first element to copy
@param len	number of elements to copy
@return		array the specified elements
jphp-runtime/src/php/runtime/memory/support/IList.java