memmove() - copy byte string
#include <string.h>
void * memmove (void *dst, const void *src, size_t len)
The memmove(3) function copies len bytes from string src to string dst. The two strings may overlap; the copy is always done in a non-destructive manner.
The memmove(3) function returns the original value of dst.
bcopy(3)
memcpy(3)
strcpy(3)