Jave ArrayList à Array

Integer[] spam = new Integer[] { 1, 2, 3 };
List<Integer> list = Arrays.asList(spam);
2 Programmers 1 Bug