code: public static byte[] copyOf(byte[] byteArray) {
  
      	byte[] copy = new byte[byteArray.length];
          System.arraycopy(byteArray, 0, copy, 0, byteArray.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 byte
  @param byteArray The array to copy
  @return A copy of the input, of component type U