Fix bug for strcpy