new way to copy filepath