clean str_copy