If you used draw method from BitmapData class to copy some DisplayObject with transparency you may notice that all transparent pixels turned white. This is because you didn’t set properly parameters in BitmapData construcotr.
By default BitmapData fills it’s background with white and to avoid this you have to set fillColor parameter to any transparent color.
bitmapData.draw(someDisplayObject);