public void copyTexturesTo(Material material) throws TextureException {
  int num=mTextureList.size();
  for (int i=0; i < num; ++i)   material.addTexture(mTextureList.get(i));
}

public void copyTexturesTo ( Material material ) throws TextureException { int num = mTextureList . size ( ) ; for ( int i = 0 ; i < num ; ++ i ) material . addTexture ( mTextureList . get ( i ) ) ; }
copies this material ' s textures to another material .
