(PHP 4 >= 4.0.1, PHP 5)
imagepalettecopy() copies the palette from the source image to the destination image.
To be precise, this function replaces the palette in the destination.