Add offset to the position of memcpy in `MemoryStream`
Reduce amount of relocations in `MemoryStream`