[#2212] CID26167:

replaced strcpy with snprintf