memcpy
Copies length characters from one buffer to another buffer (function or macro)
#include <string.h> void *memcpy ( void *dst, const void *src, size_t length);
memcpy returns dst.
The memcpy function or macro copies length characters from the buffer pointed to by src into the buffer pointed to by dst. Copying of overlapping objects have undefined results. See the memmove function to copy objects that overlap.
#include <string.h> main () { char buffer[80]; memcpy (buffer, "Hello", 5); }