Copies a contiguous memory block.
#include <string.h> void *memcpy(void *dest, const void *source, size_t n);
dest
A pointer to an area of memory to copy to.
source
A pointer to an area of memory to copy.
n
The maximum number of characters to copy from source to dest.
This function copies the first n characters from the item pointed to by source to the item pointed to by dest. The function has undefined behavior if the areas pointed to by dest and source overlap. Use the memmove() function to reliably copy overlapping memory blocks.
The function returns the value of dest. This facility may not be available on some configurations of the EWL.