The medical term is echolalia which is the involuntary parrotlike
repetition of a word or phrase just spoken by another person. Echolalia is a feature of schizophrenia. In Kurt Vonnegut's "Breakfast of
Champions" one of the characters suffers from
chronic doublespeak.