The mempcpy function, similar to the memcpy function, copies size bytes from the object pointed to by source to the object pointed to by dest; it does not check for the overflow of the receiving memory area (dest). Instead of returning the value of dest, mempcpy returns a pointer to the byte following the last written byte.