move ListUtil.toArray method to CollectionsUtil.toArray