code: public static long[] copyOf(long[] longArray) {
  
      	long[] copy = new long[longArray.length];
          System.arraycopy(longArray, 0, copy, 0, longArray.length);
          return copy;
      }
docs: This method does a similar job to JSE 6.0's Arrays.copyOf() method and overloads the method for use with arrays of long
  @param longArray The array to copy
  @return A copy of the input, of component type U