More reliable way for copying hidden files