some function for strcpy