code: def _copy_table(table: pa.Table) -> pa.Table:
      import pyarrow as pa
  
      arrs = [concat_arrays(column.chunks) for column in table.columns]
      return pa.table(data=arrs, schema=table.schema)
  
file_path: distributed/distributed/shuffle/_arrow.py
imports: from __future__ import annotations
  from collections.abc import Iterable
  from pathlib import Path
  from typing import TYPE_CHECKING
  from packaging.version import parse
  from dask.utils import parse_bytes
label_desc: Use image node_id 10 for calling a global function with example usage: _copy_table(table) and returns: pa