def AddToDict(FromDict, ToDict):
    for Key, Value in FromDict.items():
            if hasattr(Value, 'copy') and callable(getattr(Value, 'copy')):
                    ToDict[Key] = Value.copy()
            else:
                    ToDict[Key] = Value
dataset/ETHPy150Open owtf/owtf/framework/lib/general.py/AddToDict/original