In addition to Commons Lang, you can do this with Guava's method Ints.toArray(Collection collection):
List list = ...
int[] ints = Ints.toArray(list);
This saves you having to do the intermediate array conversion that the Commons Lang equivalent requires yourself.