We use this expression to say that someone has said something that we were also thinking of doing or saying.
You can use this phrase in ………… language.
Spoken
Informal
Example
A: I want some fresh air. Do you fancy a walk?
B: Funny you should say that. I was just going to ask you the same question!