"Are you threatening me?"
"Right back at you!"
Now, that's not a good idiom, and I am not even sure if this is an appropriate response, so I am wondering if there's an idiom that basically means "You did it first, or you're doing or did the same thing". Is there such an expression?