def METHOD_NAME(memlet_dst):
    """ 
    Symmetric case of Array->View->Array. Should be translated to a reference
    and a copy.
    """
    sdfg = dace.SDFG('reshpcpy')
    sdfg.add_array('A', [2, 3], dace.float64)
    sdfg.add_array('B', [6], dace.float64)
    sdfg.add_view('Av', [6], dace.float64)
    state = sdfg.add_state()
    r = state.add_read('A')
    v = state.add_access('Av')
    w = state.add_write('B')
    state.add_edge(r, None, v, 'views', dace.Memlet(data='A'))
    state.add_nedge(v, w, dace.Memlet(data='B' if memlet_dst else 'Av'))
    sdfg.validate()
    A = np.random.rand(2, 3)
    B = np.random.rand(6)
    sdfg(A=A, B=B)
    assert np.allclose(A.reshape([6]), B)