- move-memory! FROM TO #!optional BYTES FROM-OFFSET TO-OFFSETprocedure
Copies BYTES bytes of memory from FROM to TO. FROM and TO may be strings, blobs, SRFI-4 number-vectors, memory mapped files, foreign pointers (as obtained from a call to foreign-lambda, for example), tagged-pointers or locatives. if BYTES is not given and the size of the source or destination operand is known then the maximal number of bytes will be copied. Moving memory to the storage returned by locatives will cause havoc, if the locative refers to containers of non-immediate data, like vectors or pairs.
The additional fourth and fifth argument specify starting offsets (in bytes) for the source and destination arguments.
Signals an error if any of the above constraints is violated.