gdImagePaletteCopy()

 
Syntax
gdImagePaletteCopy( dst, src )
User Annotations: gdImagePaletteCopy