code: def _create_back_up(
      domain_file: Path, backup_location: Path
  ) -> Dict[Text, Any]:
      """Makes a backup and returns the content of the file."""
      original_content = rasa.shared.utils.io.read_yaml(
          rasa.shared.utils.io.read_file(domain_file)
      )
      rasa.shared.utils.io.write_yaml(
          original_content,
          backup_location,
          should_preserve_key_order=True,
      )
      return original_content
  
imports: import copy
  import shutil
  from pathlib import Path
  from typing import List, Dict, Text, Any, Tuple, Optional, Union
  from ruamel.yaml.scalarstring import DoubleQuotedScalarString
  import rasa.shared.utils.io
  import rasa.shared.utils.cli
  from rasa.shared.constants import REQUIRED_SLOTS_KEY, IGNORED_INTENTS
  from rasa.shared.core.constants import ACTIVE_LOOP, REQUESTED_SLOT, SlotMappingType, MAPPING_TYPE, SLOT_MAPPINGS
  from rasa.shared.constants import LATEST_TRAINING_DATA_FORMAT_VERSION
  from rasa.shared.core.domain import KEY_ENTITIES, KEY_SLOTS, KEY_FORMS, Domain
  from rasa.shared.exceptions import RasaException
  from rasa.shared.utils.validation import KEY_TRAINING_DATA_FORMAT_VERSION
label_desc: Use image node_id 1 for calling a global function with example usage: _create_back_up(domain_file, backup_location) and returns: original_content