[#2212] CID26007:

switched out strcpy for snprintf
[#2212] CID26006:

changed strcpy to snprintf