switch to strcpy because strcat isn't exposed on a target
WS fix.
Fixing to avoid strncpy redefinition problem