* @param list - List of original objects
     * @param offset - From this pos
     */
  	public static void fillArray(Object[] array, List<?> list, int offset) {
  		int length = Math.min(array.length - offset, list.size());
  		for (int i = 0; i < length; i++) {
			array[i + offset] = list.get(i);
		}
  	}