lib/string: use glibc version
the performance of memcpy and memmove of the general version is very
inefficient, this patch improved them.