Why don't you just use CreatePixmap() to create the empty pixmap? Or use CopyPixmap()?
You might also try CreateStaticBank() mapped onto the memory of the pixmap, then use some kind of memcopy thing.
You might also try CreateStaticBank() mapped onto the memory of the pixmap, then use some kind of memcopy thing.