Java的内存复制 byte[] data = new byte[1024]; byte[] dataNull=new byte[1024]; System.arraycopy(dataNull, 0, data, 0, data.length);