code: def _copy_fields(ary):
      """Return copy of structured array with padding between fields removed.
  
      Parameters
      ----------
      ary : ndarray
         Structured array from which to remove padding bytes
  
      Returns
      -------
      ary_copy : ndarray
         Copy of ary with padding bytes removed
      """
      dt = ary.dtype
      copy_dtype = {
          "names": dt.names,
          "formats": [dt.fields[name][0] for name in dt.names],
      }
      return array(ary, dtype=copy_dtype, copy=True)
  
imports: import ast
  import re
  import sys
  import warnings
  from ..exceptions import DTypePromotionError
  from .multiarray import dtype, array, ndarray, promote_types
label_desc: Use image node_id 7 for calling a global function with example usage: _copy_fields(ary) and returns: array