Revert "Added Util.arrayListToArray"

This reverts commit a39db85700015b968892fc371f8179c282aa642b.