private static @NotNull List<ShelvedChange> copyTextFiles(@NotNull Project project,
                                                            @NotNull ShelvedChangeList changeList,
                                                            @NotNull Path newPatchPath) {
    List<ShelvedChange> copied = new ArrayList<>();
    for (ShelvedChange change : changeList.getChanges()) {
      copied.add(ShelvedChange.copyToNewPatch(project, newPatchPath, change));
    }
    return copied;
  }
private static @NotNull List<ShelvedChange> copyTextFiles(@NotNull Project project,
                                                            @NotNull ShelvedChangeList changeList,
                                                            @NotNull Path newPatchPath)