pub(crate) unsafe fn memory_copy( mem: &VMMemoryDefinition, dst: u32, src: u32, len: u32, ) -> Result<(), Trap>
Do an unsynchronized, non-atomic memory.copy for the memory.
memory.copy
Returns a Trap error when the source or destination ranges are out of bounds.
Trap
The memory is not copied atomically and is not synchronized: it’s the caller’s responsibility to synchronize.