Change strcpy() to strncp()