Mirroring - behavior in which one person copies another person usually while in social interaction with them (includes things like body language, movements, and gestures). It is often observed among couples or close friends. (x)
“Or close friends”