buffer management bugfix : reading_from_the_stream_with_StreamCopyTo_returns_all_data
Merge pull request #24 from valeriob/buffermanager-fix-StreamCopyto

buffer management bugfix : reading_from_the_stream_with_StreamCopyTo_ret...
Slight simplification and speed-up.
Merge branch 'master' into dev