code: public static void copy(InputStream inputStream, OutputStream outputStream, byte[] buffer) throws IOException {
      LOGGER.trace("copy(InputStream, OutputStream, byte[])");
      copy(inputStream, outputStream, buffer, null);
    }
docs: copies the input stream to the output stream using a custom buffer size
  
  @param inputStream
  the source stream
  @param outputStream
  the target strem
  @param buffer
  the custom buffer
  @throws IOException