copy method
Implementation
@override
copy(source) {
super.copy(source);
curves = [];
for (var i = 0, l = source.curves.length; i < l; i++) {
var curve = source.curves[i];
curves.add(curve.clone());
}
autoClose = source.autoClose;
return this;
}