Replace lib memcopy & memmove functions