To use CompositeBezier, you first need to load the Splines Package using Needs["Splines`"].
A composite Bézier spline is made up of a series of third-order Bézier curves with continuity. It alternates interpolating points and control points.
If the number of points given is even, then the last two points are reversed so that the final point is interpolated and the next to last is a control point for the final segment; if odd, then the final vertex is doubled.