We would call it a pun. Here is an old joke.
What did the pony with a sore throat say?
'I'm a little horse'
(,
Sat 1 Sep 2012, 14:37,
archived)
What did the pony with a sore throat say?
'I'm a little horse'
Mmmmm..... Maybe I might understand.
(,
Sat 1 Sep 2012, 14:44,
archived)