[#2212] CID72467:

changed strcpy to the safer snprintf