dist/melonjs.js
function copy(rect) {
         return this.setShape(rect.pos.x, rect.pos.y, rect._width, rect._height);
       }
function copy(rect) {
         return this.setShape(rect.pos.x, rect.pos.y, rect._width, rect._height);
       }
function copy ( rect ) { return this . setShape ( rect . pos . x , rect . pos . y , rect . _width , rect . _height ) ; }
copy the position and size of the given rectangle into this one
@name copy
@memberOf me.Rect.prototype
@function
@param {me.Rect} rect Source rectangle
@return {me.Rect} new rectangle
copy the position and size of the given rectangle into this one