Copies the number of characters specified by length from one buffer to another buffer, even when the buffers overlap.
#include <string.h> void *memmove ( void *dst, const void *src, size_t length);
(IN) Points to a buffer into which to copy the characters.
(IN) Points to a buffer containing the characters to be copied.
(IN) Specifies the number of characters to move.
Returns a pointer to dst.
The memmove function copies the number of characters specified by length from the buffer pointed to by src to the buffer pointed to by dst. Copying takes place as if the bytes from the object pointed to by src are first copied into a temporary array of length bytes that does not overlap the objects pointed to by dst and src, and then the bytes from the temporary array are copied into the object pointed to by dst.