System.arrayCopy(wiredata, 0, temp, 0, wiredata.length);
System.arraycopy(wiredata, 0, temp, 0, wiredata.length);
   protected void appendBytes(byte[] buf)    {      if (null == buf) return;      if (preallocated > 0) {         System.arraycopy(buf, 0, pabuf, paofs, buf.length);         paofs += buf.length;         preallocated -= buf.length;      } else {         if (bufferuse == wiredata.length) {            Debug.print("Resizing "+bufferuse);            byte[][] temp = new byte[wiredata.length+BUFFERINCREMENT][];            System.arrayCopy(wiredata, 0, temp, 0, wiredata.length);            wiredata = temp;         }         wiredata[bufferuse++] = buf;         bytecounter += buf.length;       }   }