import copy


def copy_neural_network(target_network):
    """Copy an Echo State Network.
    :rtype: pyESN.ESN
    :param target_network: network to copy
    :return: pyESN Echo State Network model
    """
    model = copy.deepcopy(target_network)
    return model