<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def copy_entities(self, from_namespace, from_workspace, etype, enames):
 """Copy entities from another workspace. Args: from_namespace (str):
 Source workspace namespace from_workspace (str):
 Source workspace name etype (str):
 Entity type enames (list(str)):
 List of entity names to copy """

        r = fapi.copy_entities(from_namespace, from_workspace,
                               self.namespace, self.name, etype, enames,
                               self.api_url)
        fapi._check_response_code(r, 201)