I have a feeling this `memcpy` / `memset` pair is wrong. It always copies into `&a_Dest[i * SegmentLength]`, even if a_Idx > 0.