use bitmap memory copy