currently I have a site which is purely page based which I am creating with specific custom templates.
new requirement is to create livecopy of the same.
can anyone please help me creating same from code side as well?
You can implement livecopy based on rollout option when author publish page.
Please see the below urls for code
Hi @kiranc13433869 ,
Hope below documentation helps.