copy sliced results to avoid carrying around large arrays in memory