Replace memcpy() with std::copy() and std::copy_n() in calendar_gregorian.cxx and cclass_unicode_parser.cxx to improve type safety by eliminating manual sizeof() calculations. Change-Id: I112d5b9528d9384b62eb2449283bf0e0d1f20f03 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204358 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins