CopyRectangle: use booleans for R,G,B,A instead of a choice.