Replace strcpy with strlcpy