'copy path to target with checkin message msg.'

def copy(self, target, msg='copied    by    py    lib    invocation'):

    if (getattr(target, 'rev', None) is not None):
        raise py.error.EINVAL(target, 'revisions    are    immutable')
    self._svncmdexecauth(('svn    copy    -m    "%s"    "%s"    "%s"' % (msg, self._escape(self), self._escape(target))))
    self._norev_delentry(target.dirpath())
