update strcpy and add strncpy