Equivalence of nonlinear systems under dynamic state feedback