Ignore copying a file if its source or destination address is missing.

Ignore copying a file if its source or destination address is missing. Issue #2915 @ yiisoft/yii

Useful when modifying the protected folder, index.php or index_test.php