Replace of memcpy by memmove and the -D_GLIBC_VERSIONED_SOURCE compilation flag