docs: static void crossStreams(final InputStream in, final OutputStream out) throws IOException {
          final byte[] buffer = new byte[bufferSize];
          int len;
          while ((len = in.read(buffer)) != -1) {
              out.write(buffer, 0, len);
          }
      }