Mindsnipe is the action of beating someone to a joke or idea. If you said it before them no matter who thought of it first, you just mindsniped them.
“That girl over there looks like Amy Schumer.” “Dude no way I was just about to say the same thing, you mindsniped me!”