# xarray.Index.copy

#### Index.copy(deep=True)[[source]](https://github.com/pydata/xarray/blob/main/xarray/core/indexes.py#L450-L467)

Return a (deep) copy of this index.

Implementation in subclasses of Index is optional. The base class
implements the default (deep) copy semantics.

* **Parameters:**
  **deep** ([`bool`](https://docs.python.org/3/builtins/functions.html#bool), *optional*) – If true (default), a copy of the internal structures
  (e.g., wrapped index) is returned with the new object.
* **Returns:**
  **index** ([`Index`](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Index.html#pandas.Index)) – A new Index object.
