code: def test_copy(games_es):
      home_games = next(
          r
          for r in games_es.relationships
          if r._child_column_name == "home_team_id"
      )
      path = RelationshipPath([(False, home_games)])
      feat = AggregationFeature(
          IdentityFeature(games_es["games"].ww["home_team_score"]),
          "teams",
          relationship_path=path,
          primitive=Mean,
      )
      copied = feat.copy()
      assert copied.dataframe_name == feat.dataframe_name
      assert copied.base_features == feat.base_features
      assert copied.relationship_path == feat.relationship_path
      assert copied.primitive == feat.primitive
  
imports: from datetime import datetime
  from inspect import isclass
  from math import isnan
  import numpy
  import pandas
  import pytest
  from woodwork.column_schema import ColumnSchema
  from woodwork.logical_types import Datetime
  from featuretools import AggregationFeature, Feature, IdentityFeature, Timedelta, calculate_feature_matrix, dfs, primitives
  from featuretools.entityset.relationship import RelationshipPath
  from featuretools.feature_base.cache import feature_cache
  from featuretools.primitives import Count, Max, Mean, Median, NMostCommon, NumTrue, NumUnique, Sum, TimeSinceFirst, TimeSinceLast, get_aggregation_primitives
  from featuretools.primitives.base import AggregationPrimitive
  from featuretools.synthesis.deep_feature_synthesis import DeepFeatureSynthesis, match
  from featuretools.tests.testing_utils import backward_path, feature_with_name, to_pandas
  from featuretools.utils.gen_utils import Library
label_desc: Use image node_id 13 for calling a global function with example usage: test_copy(games_es) without return types