Merge pull request #728 from JoesCat/master

change strcpy to strncpy