
Creates a stream pumper to copy the given input stream to the
given output stream.
Returns:
a thread object that does the pumping.
Parameters:
-
is - the input stream to copy from.
-
os - the output stream to copy to.
-
closeWhenExhausted - if true close the inputstream.