void fillList(List one, List two) { for (int x = 0; x < one.length; x++) { if (x >= two.length) return; one[x] = two[x]; } }