code: public static <T> Object[] store(T[] array, Object... elements) {
          Object[] result = new Object[array.length + elements.length];
          System.arraycopy(array, 0, result, 0, array.length);
          System.arraycopy(elements, 0, result, array.length, elements.length);
          return result;
      }
docs: Stores array elements along with more individuals into a new Object[].
  
  @param <T> the type of the elements in the array
  @param array an array
  @param elements a list of elements
  @return an {@code Object} array containing all elements