use CopyTask to replace CacheDirectory