Export specific part of the animation

Hi everyone, how can i change the duration of the timeline?

the default is 5 sec


I used copilot and got the perfect result and during 1 to 3 sec it will loop forever perfectly (so the exact duration I only need is 1 to 3 sec)


Have no idea how to export only this part so it can be loopable.