lib: use glibc [memcopy memmove efficiency issue]