def copy(self):
url = "<STR_LIT>".format(url_base=self.hs.url_base,<EOL>pid=self.pid)<EOL>r = self.hs._request('<STR_LIT:POST>', url)<EOL>return r<EOL>
Creates a copy of a resource.

        :return: string resource id