ArrayList<String> original = new ArrayList<>(); ArrayList<String> copy = new ArrayList<>(original); copy.sort(Comparator.naturalOrder());