src/org/kocakosm/pitaya/io/CharStreams.java
public static void copy(Reader in, OutputStream out) throws IOException
	{
		copy(in, new OutputStreamWriter(out, Charsets.DEFAULT));
	}
public static void copy(Reader in, OutputStream out) throws IOException
	{
		copy(in, new OutputStreamWriter(out, Charsets.DEFAULT));
	}
public static void copy ( Reader in , OutputStream out ) throws IOException { copy ( in , new OutputStreamWriter ( out , Charsets . DEFAULT ) ) ; }
Copies the content of the given {@code Reader} into the given
{@code OutputStream} using the system's default charset.

@param in the {@code Reader} to read from.
@param out the {@code OutputStream} to write on.

@throws NullPointerException if one of the arguments is {@code null}.
@throws IOException if an I/O error occurs during the process.
Copies the content of the given { @code Reader } into the given { @code OutputStream } using the system s default charset .