Thank you. I did use File.Copy..... that is the line that caused the error: File.Copy(File.DirAssets, MediaList.Get(i), ToDir, MediaList.Get(i)) It will not copy a png file due to a compression problem. Only jpg files. error = java.io.IOException: unknown format (magic number 4449). Am I missing something?