Implement an optimized special case for copy_n when n == groupsize * grainsize.