adding fn for fs-extra copy file sync