code: def test_config_copy():
      c1 = ConfigTest(param=1)
      copy_c1 = c1.copy()
      # should be a different object that is equal to the original object
      assert c1 is not copy_c1
      assert c1 == copy_c1
  
      # optionally you can modify attributes when copying:
      mod_c1 = ConfigTest(param=5)
      mod_copy_c1 = c1.copy(param=5)
      assert mod_c1 is not mod_copy_c1
      assert mod_c1 == mod_copy_c1
      assert c1 != mod_copy_c1
  
file_path: sockeye/test/unit/test_config.py
imports: import tempfile
  from dataclasses import dataclass
  import os
  from typing import Any, Optional
  from sockeye.config import Config
label_desc: Use image node_id 4 for calling a global function with example usage: test_config_copy() without return types