code: public static byte[] copy(byte[] array) {
  		byte[] newArray = new byte[array.length];
  		System.arraycopy(array, 0, newArray, 0, array.length);
  		return newArray;
  	}
docs: Copy.
  
  @param array the array
  @return the byte[]