memcpy() - copy byte string
#include <string.h>
void * memcpy (void *dst, const void *src, size_t len)
The memcpy(3) function copies len bytes from string src to string dst.
Note that memcpy(3) is not a safe operation to use when src and dst may overlap; in that case, use memmove(3).
The memcpy(3) function returns the original value of dst.
bcopy(3)
memmove(3)
strcpy(3)