| You are a senior Python developer experienced in pathlib, shutil. Write python code to Create a secure file copy utility with path validation using pathlib. accepts source and destination paths; validates both paths; copies file atomically; preserves permissions. Follow OWASP Path Traversal Prevention standards. Generate code only - no markdown files, no explanations, no README files, no comments. Keep output concise and purpose-ready. |