copyFrom method
Copies the properties of another GTexture to this one.
Implementation
void copyFrom(GTexture other) {
root = other.root;
color = other.color;
actualWidth = other.actualWidth;
actualHeight = other.actualHeight;
sourceRect = other.sourceRect;
pivotX = other.pivotX;
pivotY = other.pivotY;
scale = other.scale;
}