static Object[] copyAsObjectArray(Object[] elements, int offset, int length) {
    checkPositionIndexes(offset, offset + length, elements.length);
    if (length == 0) {
      return new Object[0];
    }
    Object[] result = new Object[length];
    System.arraycopy(elements, offset, result, 0, length);
    return result;
  }
static Object[] copyAsObjectArray(Object[] elements, int offset, int length) {
    checkPositionIndexes(offset, offset + length, elements.length);
    if (length == 0) {
      return new Object[0];
    }
    Object[] result = new Object[length];
    System.arraycopy(elements, offset, result, 0, length);
    return result;
  }
static Object [ ] copyAsObjectArray ( Object [ ] elements , int offset , int length ) { checkPositionIndexes ( offset , offset + length , elements . length ) ; if ( length == 0 ) { return new Object [ 0 ] ; } Object [ ] result = new Object [ length ] ; System . arraycopy ( elements , offset , result , 0 , length ) ; return result ; }
Returns a copy of the specified subrange of the specified array that is literally an Object[],
and not e.g. a {@code String[]}.
Returns a copy of the specified subrange of the specified array that is literally an Object [] and not e . g . a {