code: public void get(String url, OutputStream out) throws IOException {
          InputStream in = get(url);
          StreamUtility.pipeStream(in, out, 4096);
      }
docs: Get data via HTTP and write it to an OutputStream, following redirects,
  and supplying credentials if the host is the Fedora server.