Use memmove instead of memcpy
POSIX and C standards says that using memcpy() for overlapping areas produces undefined behavior.
Fixes #397 (closed)
POSIX and C standards says that using memcpy() for overlapping areas produces undefined behavior.
Fixes #397 (closed)