[#2212] CID25898:

Changed strcpy to the safer snprintf