Hi @purushothamchanda-2222,
Thanks for your query.
After copying the files, once the initial copy activity is succeeded, you can use a getMetadata activity to get the list of file names from source and use the output value to copy to your desired sink (in this case to the db collection in cosmos database).
Hope this helps. Do let us know if you have further query.
Thanks
----------
Please don’t forget to Accept Answer
and Up-Vote
wherever the information provided helps you, this can be beneficial to other community members.