Merge "StringStream::copyToStream() should adjust the offset"