toList

fun <T> Iterator<T>.toList(): List<T>