def METHOD_NAME(test_case):
    x = flow.zeros(2, 3)
    y = flow.ones(2, 3)
    x.copy_(y)
    test_case.assertTrue(np.array_equal(x.numpy(), y.numpy()))
    x = flow.zeros(
        4, 6, placement=flow.placement("cuda", [0, 1]), sbp=flow.sbp.broadcast
    )
    y = flow.ones(
        4, 6, placement=flow.placement("cpu", [0]), sbp=flow.sbp.broadcast
    )
    x.copy_(y)
    test_case.assertTrue(np.array_equal(x.numpy(), y.numpy()))
    x = flow.zeros(
        4, 6, placement=flow.placement("cuda", [0, 1]), sbp=flow.sbp.broadcast
    )
    y = flow.ones(
        4, 6, placement=flow.placement("cuda", [0]), sbp=flow.sbp.broadcast
    )
    x.copy_(y)
    test_case.assertTrue(np.array_equal(x.numpy(), y.numpy()))
    x = flow.zeros(
        4, 6, placement=flow.placement("cuda", [0, 1]), sbp=flow.sbp.split(0)
    )
    y = flow.ones(
        4, 6, placement=flow.placement("cuda", [0, 1]), sbp=flow.sbp.broadcast
    )
    x.copy_(y)
    test_case.assertTrue(np.array_equal(x.numpy(), y.numpy()))
    x = flow.zeros(
        4, 6, placement=flow.placement("cuda", [0, 1]), sbp=flow.sbp.broadcast
    )
    y = flow.ones(
        4, 6, placement=flow.placement("cuda", [0, 1]), sbp=flow.sbp.broadcast
    )
    x.copy_(y)
    test_case.assertTrue(np.array_equal(x.numpy(), y.numpy()))