To duplicate something means to copy it.
She duplicated her friend’s movements like she was in front of a mirror.
Example picture