buffer management bugfix : reading_from_the_stream_with_StreamCopyTo_ret...

CopyTo method on BufferPoolStream throws exception when it should just copy all data it can untill the end of the stream.