public static void copy(Reader r, Writer w) throws IOException {
        copy(r, w, true);
    }
public static void copy ( Reader r , Writer w ) throws IOException { copy ( r , w , true ) ; }
Copies all text from the given reader to the given writer and closes both afterwards. Convenience method, same as
<code>copy(r, w, true)</code>.

@param r
the reader.
@param w
the writer.

@throws IOException
if an I/O error occurs.
@see #copy(Reader, Writer, boolean)