The source buffer is read-only for memcpy_s; align the signature with standard memcpy and allow callers to pass pointers to const data. Change-Id: Ic785c9d962f4eaf3b870c8461440d52f0dfa1503 Signed-off-by: yaozhm <yaozhongmin@xiaomi.com>