Fix possible buffer overrun.
Fix possible buffer overrun.

Replace strcpy() with strlcpy(). Per Coverity report 1111478, 1111480,
1111481.

treasure-data/prestogres,treasure-data/prestogres,treasure-data/prestogres,treasure-data/prestogres,treasure-data/prestogres,treasure-data/prestogres,treasure-data/prestogres