Util: #232: re-add List versions of toXArray

but this time using the Iterator instead of getRest
Util: #232: use Iterator in toArray