def move(doc, dest, src):
    """Move element from sequence, member from mapping.

    :param doc: the document base
    :param dest: the destination
    :type dest: Pointer
    :param src: the source
    :type src: Pointer
    :return: the new object

    .. note::

        it delete then it add to the new location
        soo the dest must refer to the middle object.

    """

    return Target(doc).move(dest, src).document