memcpy

Example: memcpyBuffer Manipulation Functions

Copies characters from one buffer to another.

void *memcpy( void *dest, const void *src, size_t n ); 

destDestination buffer where the data is copied.
srcThe name of the source buffer from which the data is copied.
nThe number of bytes to copy.

The memcpy function copies n characters from the src buffer to the dest buffer.

Return Values

Returns dest, the destination buffer to where the data is copied.