string_core()的swap()使用memcpy实现.

Signed-off-by: shines77 <gz_shines@msn.com>