Hello @Anjali Maithani and welcome to Microsoft Q&A.
With REST as source, you can add pagination rules in the copy activity source tab. The way to paginate depends upon how the source behaves. Please see this doc for details:
https://learn.microsoft.com/en-us/azure/data-factory/connector-rest#pagination-support
If yours does not behave like that, you can try parameterizing the dataset and put the copy activity inside a loop.