copies: remove dependency on scmutil by directly using match.exact()

Authored by martinvonz.

Description

copies: remove dependency on scmutil by directly using match.exact()

I want to add a dependency from scmutil.copies(), so I need to remove
this dependency first.

Differential Revision: https://phab.mercurial-scm.org/D6118