Echophenomenon
Echophenomenon is "automatic imitative actions without explicit awareness" or pathological repetitions of external stimuli or activities, actions, sounds, or phrases, indicative of an underlying disorder.
The echophenomena include repetition: