code: def copy_entities(from_namespace, from_workspace, to_namespace,
                    to_workspace, etype, enames, link_existing_entities=False):
      
  
      uri = "workspaces/{0}/{1}/entities/copy".format(to_namespace, to_workspace)
      body = {
          "sourceWorkspace": {
              "namespace": from_namespace,
              "name": from_workspace
          },
          "entityType": etype,
          "entityNames": enames
      }
      
      return __post(uri, json=body, params={'linkExistingEntities':
                                            str(link_existing_entities).lower()})
docs: Copy entities between workspaces
  
      Args:
          from_namespace (str): project (namespace) to which source workspace belongs
          from_workspace (str): Source workspace name
          to_namespace (str): project (namespace) to which target workspace belongs
          to_workspace (str): Target workspace name
          etype (str): Entity type
          enames (list(str)): List of entity names to copy
          link_existing_entities (boolean): Link all soft conflicts to the entities that already exist.
  
      Swagger:
          https://api.firecloud.org/#!/Entities/copyEntities