Reformulated two strcpy() calls to resolve Coverity defect reports.