Comment memcpy from #1305

Document why memcpy in this location is safe and assert on possible future
implementation mistakes that might leave it to long.