code: def copy(self):
          
          state_copy = State()
          state_copy._state_dict = copy.deepcopy(self._state_dict)
          return state_copy
docs: Returns a deepcopy of the state
  
          :rtype: satosa.state.State
  
          :return: A copy of the state