Share this page

# memcpy

Example: memcpy | Buffer Manipulation Functions

Copies characters from one buffer to another.

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

dest | Destination buffer where the data is copied.
src | The name of the source buffer from which the data is copied.
n | The 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.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: