Cast resultList to array