def vec_copy(a):
    """
    Creates a duplicate (deep copy) of a vector

    Parameters
    ----------
    a: list[]
        The vector to be copied

    Returns
    -------
    list[]
        A copy of the given vector

    """
    return a.copy()