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
Immediate echolalia is repeating a sound, word, or phrase right after hearing it. It could be anything from a single word to a whole sentence. Some people even translate what they hear into another language.
Delayed echolalia
More detail please!
Echolagia
Echolagia is when you repeat what you heard internally, rather than out loud.