Copying files from dataPath to persistenDatapath

I have an iOS game that I want to port to Android, but I can’t get File.Copy to work. It doesn’t find the files in dataPath. Do any of you know where is that folder or how I can get the path to the ressource folder?

This is how I use it:
if(!File.Exists(Application.persistentDataPath + “/save/xmlFile”))File.Copy(Application.dataPath + “Resources/xmlFile”, Application.persistentDataPath + “/save/xmlFile”, false);

(Application.dataPath + “Resources/xmlFile” <= This is what it doesn’t find.

Thanks!

hopefully that helps

Do you know how I could copy the files from there to persistentDatapath beause I need to be able to modify the files but streamingassets is read-only.

You can read file to memory, edit in memory and write it to persistent location.