bug fix: should copy self even not have ignore files.