Revert "Revert "lib/memcopy: use glibc version""

This reverts commit 0f9a26d8c12df147afacfb5adf4eacc1c621303f.