optimized indexCopy

speed boost again for indexCopy, following indexSelect and indexFill