code: def test_direct_copy(games_es):
      home_team = next(
          r
          for r in games_es.relationships
          if r._child_column_name == "home_team_id"
      )
      feat = DirectFeature(
          IdentityFeature(games_es["teams"].ww["name"]),
          "games",
          relationship=home_team,
      )
      copied = feat.copy()
      assert copied.dataframe_name == feat.dataframe_name
      assert copied.base_features == feat.base_features
      assert copied.relationship_path == feat.relationship_path
  
imports: import numpy
  import pandas
  import pytest
  from woodwork.column_schema import ColumnSchema
  from woodwork.logical_types import Datetime
  from featuretools.computational_backends.feature_set import FeatureSet
  from featuretools.computational_backends.feature_set_calculator import FeatureSetCalculator
  from featuretools.feature_base import DirectFeature, Feature, IdentityFeature
  from featuretools.primitives import AggregationPrimitive, Day, Hour, Minute, Month, NMostCommon, Second, TransformPrimitive, Year
  from featuretools.primitives.utils import PrimitivesDeserializer
  from featuretools.synthesis import dfs
  from featuretools.tests.testing_utils import to_pandas
  from featuretools.utils.gen_utils import Library
label_desc: Use image node_id 5 for calling a global function with example usage: test_direct_copy(games_es) without return types