def copy_entities(from_namespace, from_workspace, to_namespace,<EOL>to_workspace, etype, enames, link_existing_entities=False):
uri = "<STR_LIT>".format(to_namespace, to_workspace)<EOL>body = {<EOL>"<STR_LIT>": {<EOL>"<STR_LIT>": from_namespace,<EOL>"<STR_LIT:name>": from_workspace<EOL>},<EOL>"<STR_LIT>": etype,<EOL>"<STR_LIT>": enames<EOL>}<EOL>return __post(uri, json=body, params={'<STR_LIT>':<EOL>str(link_existing_entities).lower()})<EOL>
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