Echolalia
From ActuallyAutistic Wiki
Echolalia... echolalia...
Echolalia is the repeating of words or sounds heard. This can be immediate or delayed. An example of immediate echolalia could be meowing back at a cat. Delayed echolalia can be part of scripting, or for fun.
Immediate echolalia
(More detail please!)
Delayed echolalia
(More detail please!)