[#2212] CID25954:

minor refactor, switched in snprintf for strcpy