import os
import shutil

src = r"C:\Users\intel\AppData\Local\OptimusRuntime\Labs\AR74\09_ar82_release_candidate\evidence\run_ar82_verification.py"
dst = r"C:\Users\intel\AppData\Local\OptimusRuntime\Labs\AR74\10_ar84_trust_boundary\evidence\run_ar84_verification.py"

with open(src, "r", encoding="utf-8") as f:
    text = f.read()

# Replace AR82 paths and titles with AR84
text = text.replace("AR-82", "AR-84")
text = text.replace("AR82", "AR84")
text = text.replace("09_ar82_release_candidate", "10_ar84_trust_boundary")
text = text.replace("ar82_", "ar84_")

with open(dst, "w", encoding="utf-8") as f:
    f.write(text)

print(f"Created {dst}: {os.path.exists(dst)}")

