Here you can find the source of arraycopy(byte[] from, byte[] to)
public static byte[] arraycopy(byte[] from, byte[] to)
//package com.java2s; public class Main { public static byte[] arraycopy(byte[] from, byte[] to) { System.arraycopy(from, 0, to, 0, from.length); return to; }//from www .j a va 2 s .c om }