Echopraxia

A complex motor tic involving the repetition of someone else's movements.

Taken from the Greek words echo meaning 'repetition' and praxis, 'movement'.