memmove

Syntax:

    #include <cstring>
    void *memmove( void *to, const void *from, size_t count );

The memmove() function is identical to memcpy(), except that it works even if to and from overlap.

Related Topics: memcpy, memset