public static void copyByte(Array result, Array a) throws IllegalArgumentException {
    """
	copy array a to array result as bytes
	The values from the array a are converted to byte (if needed),
	and then converted to the type of result (if needed).
	
	@param result copy to here
	@param a copy from here
	
	@throws IllegalArgumentException a and result are not conformable
    """
    if (!conformable(a, result))
      throw new IllegalArgumentException("copy arrays are not conformable");

    IndexIterator iterA = a.getIndexIterator();
    IndexIterator iterR = result.getIndexIterator();
    while (iterA.hasNext())
      iterR.setByteNext(iterA.getByteNext());
  }
public static void copyByte(Array result, Array a) throws IllegalArgumentException {
    if (!conformable(a, result))
      throw new IllegalArgumentException("copy arrays are not conformable");

    IndexIterator iterA = a.getIndexIterator();
    IndexIterator iterR = result.getIndexIterator();
    while (iterA.hasNext())
      iterR.setByteNext(iterA.getByteNext());
  }
public static void copyByte ( Array result , Array a ) throws IllegalArgumentException { if ( ! conformable ( a , result ) ) throw new IllegalArgumentException ( "copy arrays are not conformable" ) ; IndexIterator iterA = a . getIndexIterator ( ) ; IndexIterator iterR = result . getIndexIterator ( ) ; while ( iterA . hasNext ( ) ) iterR . setByteNext ( iterA . getByteNext ( ) ) ; }
copy array a to array result as bytes
The values from the array a are converted to byte (if needed),
and then converted to the type of result (if needed).

@param result copy to here
@param a copy from here

@throws IllegalArgumentException a and result are not conformable
copy array a to array result as bytes The values from the array a are converted to byte ( if needed ) and then converted to the type of result ( if needed ) .