Covered copyPath with tests