sketch for follow curvature of another

suppose we have a square and a curved spline ,

how can make this square sketch follow the curveture of that spline ?

thanks

SolidworksSketching