parameters: (self, other)
docstring: Copies the value of this array to another array.
  
          If ``other`` is a ``NDArray`` or ``CSRNDArray`` object, then ``other.shape`` and
          ``self.shape`` should be the same. This function copies the value from
          ``self`` to ``other``.
  
          If ``other`` is a context, a new ``CSRNDArray`` will be first created on
          the target context, and the value of ``self`` is copied.
  
          Parameters
          ----------
          other : NDArray or CSRNDArray or Context
              The destination array or context.
  
          Returns
          -------
          NDArray or CSRNDArray
              The copied array. If ``other`` is an ``NDArray`` or ``CSRNDArray``, then the return
              value and ``other`` will point to the same ``NDArray`` or ``CSRNDArray``.
docstring_summary: Copies the value of this array to another array.
docstring_tokens: Copies the value of this array to another array .
function: def copyto(self, other):
          """Copies the value of this array to another array.
  
          If ``other`` is a ``NDArray`` or ``CSRNDArray`` object, then ``other.shape`` and
          ``self.shape`` should be the same. This function copies the value from
          ``self`` to ``other``.
  
          If ``other`` is a context, a new ``CSRNDArray`` will be first created on
          the target context, and the value of ``self`` is copied.
  
          Parameters
          ----------
          other : NDArray or CSRNDArray or Context
              The destination array or context.
  
          Returns
          -------
          NDArray or CSRNDArray
              The copied array. If ``other`` is an ``NDArray`` or ``CSRNDArray``, then the return
              value and ``other`` will point to the same ``NDArray`` or ``CSRNDArray``.
          """
          if isinstance(other, Context):
              return super(CSRNDArray, self).copyto(other)
          elif isinstance(other, NDArray):
              stype = other.stype
              if stype == 'default' or stype == 'csr':
                  return super(CSRNDArray, self).copyto(other)
              else:
                  raise TypeError('copyto does not support destination NDArray stype ' + str(stype))
          else:
              raise TypeError('copyto does not support type ' + str(type(other)))
function_tokens: def copyto ( self , other ) : if isinstance ( other , Context ) : return super ( CSRNDArray , self ) . copyto ( other ) elif isinstance ( other , NDArray ) : stype = other . stype if stype == 'default' or stype == 'csr' : return super ( CSRNDArray , self ) . copyto ( other ) else : raise TypeError ( 'copyto does not support destination NDArray stype ' + str ( stype ) ) else : raise TypeError ( 'copyto does not support type ' + str ( type ( other ) ) )