Copy a memory area.

void * memcpy(void)

The memcpy() function copies len bytes from memory area src to memory area dest. The memory areas may not overlap. Use memmove() if the memory areas do overlap.

Returns

The memcpy() function returns a pointer to dest.