code: private void doCopy() throws IOException {
          int copied = IOUtil.copy(currentNodeStream, outputStream, BUFFER_LENGTH);
          if (copied == -1) {
              currentNodeStream.close();
              currentNodeStream = null;
              endAsset();
          }
      }
docs: Performs copy operation between currentNodeStream and outputStream using buffer length.
  
  @throws IOException