var penguinsBmd:BitmapData = new Penguin(0,0);
var penguinsBm:Bitmap = new Bitmap(penguinsBmd);
function onClick(evt:MouseEvent):void {
//OK --this part determines the L/W size of the area to be copied
var penguinCopyBmd:BitmapData = new BitmapData(300, 300);
//w/h/x/y
//the loaction of where the copying takes place:
var rect:Rectangle = new Rectangle(200, 200, 300, 300);
//this carries out the copying:
penguinCopyBmd.copyPixels(penguinsBmd, rect, new Point());
//this is the instance of the copied pixels:
var penguinCopy:Bitmap = new Bitmap(penguinCopyBmd);
//the placement of the copied pixels:
penguinCopy.x = 10;
penguinCopy.y = 10;
Bookmarks