copy method

CubicPath copy()

Implementation

CubicPath copy() => CubicPath(setup: setup)
  .._points.addAll(_points)
  .._lines.addAll(_lines);