LWPOLY TO POLY

Can someone recommend a lisp program to convert LWPOLYLINE to POLYLINE