Echopraxia

Repetition by imitation of the movements of another. The action is not a willed or voluntary one and has a semiautomatic and uncontrollable quality.