code: def _extract_inputs(inputs):
      if len(inputs) == 2:
          (src, dst), where = inputs, None
      else:
          src, dst, where = inputs
          if where is True:
              where = None
          else:
              where = astensor(where)
  
      return src, dst, where
  
imports: import itertools
  import numpy
  from ...None import opcodes
  from ...serialization.serializables import KeyField, StringField
  from ...utils import has_unknown_shape
  from ..utils import unify_chunks, broadcast_shape
  from ..operands import TensorOperand, TensorOperandMixin
  from ..datasource import tensor
  from .broadcast_to import broadcast_to
  from ..array_utils import as_same_device, device
label_desc: Use image node_id 8 for calling the TensorCopyTo obj's underlying member method code with example usage: obj._extract_inputs(inputs) and returns: src,  dst,  where