add a wrapper around memcpy

Link: https://github.com/GeneAssembly/biosal/issues/484
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>