I
what do you mean by attaching? Just air play the iPad to the apple tv
That's your best bet!
Here is an article on how to use AirPlay:
https://support.apple.com/en-us/HT204289
I know how to AirPlay. Wasn't sure what OP meant by attach