Revert "lib/memcopy: use glibc version"

This reverts commit 79819f1d60518b7a4c100a8bf91887eee15d069b.