aries | p1: improve the performance of memcpy and memmove

The performance of memcpy and memmove of the general
version is very inefficient, this patch improved them.

Signed-off-by: Miao Xie <miaox <at> cn.fujitsu.com>
Change-Id: Id3e3d4bae07fedccb0fb97ac916dcb0897b128b7
Merge "aries | p1: improve the performance of memcpy and memmove" into android-4.4