Yes I followed every steps of copying the files from one to another after creating a subdomian. Even made a new database and imported the current used one to the new and also changed the wp config.php file. After that also went to new db and in Wp-Options, added the site url and home page url also to the new one that I want, but it is getting redirected to the current website.
I copied and did everything from this site
https://capetownnew.goodfoodandwineshow.co.za/
to this subdomain
https://jhnbrg.goodfoodandwineshow.co.za/
But see still it gets redirected to https://capetownnew.goodfoodandwineshow.co.za/ on opening the link.