fixed cp when not run from its own directory