(PHP 4 >= 4.0.1, PHP 5)
imagepalettecopy() copies the palette from the source image to the destination image.