more work on copy with relative paths