The best, but also most expensive, way is to get a capture card installed in your DS. Pointing a camera to show both screens is also perfectly acceptable.
Putting a capture card in your DS is the best—but priciest—way to do this. It's also totally fine to point a camera to display both screens at once. io games