code: public static void copyStream( InputStream src, OutputStream dest, boolean closeStreams )
          throws IOException, NullArgumentException
      {
          copyStream( null, null, 0, src, dest, closeStreams );
      }
docs: Copy a stream.
  
  @param src          the source input stream
  @param dest         the destination output stream
  @param closeStreams TRUE if the streams should be closed on completion
  
  @throws IOException           if an IO error occurs
  @throws NullArgumentException if either the src or dest arguments are null.