Hello @Rama Jaddu and welcome to Microsoft Q&A.
If I understand correctly, you want to replace sink folder, and files, even if it has different name.
Suppose sink has contents:
container
container/folderX/
container/folderX/fileX1
container/folderX/fileX2
container/folderZ/
container/folderZ/fileZ1
container/folderZ/fileZ2
and you want to write
container/folderNew/
container/folderNew/Newfile1
container/folderNew/Newfile2
How would I know which branch to replace? Should folderX or folderZ be replaced? This is unclear.
You can use the Delete activity to remove a folder and all its files.