[#2212] CID25836:

Replaced strcpy with snprintf