code: def test_symbol_copy():
      a = mx.sym.Variable("a")
      b = copy.copy(a)
      b._set_attr(name="b")
      assert a.name == "a" and b.name == "b"
  
      a = mx.sym.Variable("a").as_np_ndarray()
      b = copy.copy(a)
      b._set_attr(name="b")
      assert a.name == "a" and b.name == "b"
  
imports: import copy
  import sys
  import os
  import logging
  import re
  import json
  import mxnet
  import numpy
  from common import assertRaises, models, TemporaryDirectory
  from mxnet.base import NotImplementedForSymbol
  from mxnet.test_utils import discard_stderr, rand_shape_nd, use_np, environment
  from mxnet.util import np_shape
  import pickle
label_desc: Use image node_id 24 for calling a global function with example usage: test_symbol_copy() without return types