[develop]
fix copyfile mode bug
Merge branch 'develop'