ex17: fix the strcpy issue