I believe psychologists have a term for this sort of mirroristic behavior.
Projection.................