title: Stream's capacity vs length
body: <p>When I write some stream into a new memory stream, the length and capacity of the memory stream are both set to 0 at first, and grow along with the write process. but at some point the capacity grows faster than the length.<br>
  After the write operation is done I get the correct length (Same as the original input stream's length), but with MUCH bigger capacity.<br>
  Is it correct?<br>
  Shouldn't they be the same?<br>
  I couldn't find any info about it</p>