...
folder_pics=File.DirRootExternal & "/PROJET/PICS"
..
'copy picture button to folder pics
Dim MyList As List
Dim MyFile As String
Dim YuFile As String
Dim i As Short
MyList.Initialize
MyList=File.ListFiles(File.DirAssets)
For i=0 To MyList.Size-1
MyFile=MyList.Get(i)
if Mid(MyFile,1,2)="x_" Then 'x_picture.png copy only
YuFile=mid(MyFile,3,MyFile.Length-2) 'picture.png
File.Copy(File.DirAssets,MyFile,folder_pics,YuFile)
end if
Next
..
Sub Mid(Text As String, Start As Int, Length As Int) As String
Return Text.SubString2(Start-1,Start+Length-1)
End Sub