new ArrayList<>(Arrays.asList(array));
String[] array = new String[3];
ArrayList<String> arrayList = new ArrayList<>(Arrays.asList(array));
List<Integer> intList = Arrays.stream(arr)
.boxed()
.collect(Collectors.toList());
ArrayList<String> arrayList = new ArrayList<>();
String[] array = arrayList.toArray(new String[arrayList.size()]);