code: def make_copy(cls, generator):
          
          return from_commandline(
              to_commandline(generator), classname=classes.get_classname(DataGenerator()))
docs: Creates a copy of the generator.
  
          :param generator: the generator to copy
          :type generator: DataGenerator
          :return: the copy of the generator
          :rtype: DataGenerator