code: def vtk_bit_array_to_char(vtkarr_bint):
      """Cast vtk bit array to a char array.
  
      Parameters
      ----------
      vtkarr_bint : vtk.vtkBitArray
          VTK binary array.
  
      Returns
      -------
      vtk.vtkCharArray
          VTK char array.
  
      Notes
      -----
      This performs a copy.
  
      """
      vtkarr = _vtk.vtkCharArray()
      vtkarr.DeepCopy(vtkarr_bint)
      return vtkarr
  
imports: import collections.abc
  import enum
  from itertools import product
  from typing import Optional, Tuple, Union
  import numpy
  import pyvista
  from pyvista.core import _vtk_core
  from pyvista.core._typing_core import Matrix, NumpyArray, TransformLike, Vector
  from pyvista.core.errors import AmbiguousDataError, MissingDataError
label_desc: Use image node_id 16 for calling a global function with example usage: vtk_bit_array_to_char(vtkarr_bint) and returns: vtkarr