System.arrayCopy(wiredata, 0, temp, 0, wiredata.length);
System.arraycopy(wiredata, 0, temp, 0, wiredata.length);
   protected void appendByte(byte b)    {      if (preallocated > 0) {         pabuf[paofs++] = b;         preallocated--;      } 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++] = new byte[] { b };         bytecounter++;       }   }