this.in = in; this.out = out;
try { byte[] buf = new byte[1024]; int nofb = this.in.read(buf); while (nofb != -1) { this.out.write(buf, 0, nofb); nofb = this.in.read(buf); } } catch (IOException e) { e.printStackTrace(); }