def copy(x):
    """Returns a copy of `x`.

    Args:
        x: Input tensor.

    Returns:
        A copy of `x`.
    """
    if any_symbolic_tensors((x,)):
        return Copy().symbolic_call(x)
    return backend.numpy.copy(x)
Returns a copy of `x`.

    Args:
        x: Input tensor.

    Returns:
        A copy of `x`.
    
keras/src/ops/numpy.py