Copy the current workspace.

        Args:
            - uri (dict): the uri of the workspace being copied. Needs to have a did and wid key.
            - new_name (str): the new name of the copied workspace.

        Returns:
            - requests.Response: Onshape response data

def copy_workspace(self, uri, new_name):
        '''
        Copy the current workspace.

        Args:
            - uri (dict): the uri of the workspace being copied. Needs to have a did and wid key.
            - new_name (str): the new name of the copied workspace.

        Returns:
            - requests.Response: Onshape response data
        '''

        payload = {
            'isPublic': True,
            'newName': new_name
        }

        return self._api.request('post', '/api/documents/' + uri['did'] + '/workspaces/' + uri['wvm'] + '/copy', body=payload)