code: def test_functionlib_copy() -> None:
      func = functionlib.ArtificialFunction(
          "sphere", 5, noise_level=0.2, num_blocks=4
      )
      func2 = func.copy()
      assert func.equivalent_to(func2)
      assert (
          func._parameters["noise_level"]
          == func2._parameters["noise_level"]
      )
      assert func is not func2
  
imports: import typing
  import numpy
  import pytest
  from nevergrad.common import testing
  from nevergrad.parametrization import parameter
  from .None import functionlib
label_desc: Use image node_id 10 for calling a global function with example usage: test_functionlib_copy() without return types