parameters: (self, other, patterns, deepcopy)
docstring: copy a wrapper dataset
  
          :Parameters:
            - `other` - the other dataset
            - `patternsToCopy` - a list of patterns to copy
            - `deepcopy` - a 0/1 flag telling whether to do deepcopy or not
docstring_summary: copy a wrapper dataset
docstring_tokens: copy a wrapper dataset
function: def copy(self, other, patterns, deepcopy) :
          """
          copy a wrapper dataset
  
          :Parameters:
            - `other` - the other dataset
            - `patternsToCopy` - a list of patterns to copy
            - `deepcopy` - a 0/1 flag telling whether to do deepcopy or not
          """
      
          if patterns is None :
              patterns = range(len(other))
          self.container.__init__(self, other, patterns)
          self.featureDict = other.featureDict.copy()
          self.featureID = other.featureID[:]
function_tokens: def copy ( self , other , patterns , deepcopy ) : if patterns is None : patterns = range ( len ( other ) ) self . container . __init__ ( self , other , patterns ) self . featureDict = other . featureDict . copy ( ) self . featureID = other . featureID [ : ]