xcore: use strcpy() rather than strncpy()