My APP need root privileges to do some analysis , so I write in my code as

" `Runtime.getRuntime().exec("su");` " ,then write linux command or shell script into it.

I tried to copy /data/data/packagename/databases/webview.db files to /sdcard/test (**the source database files is all the app data files exists in my cellphone , though java code I can only get the file of my app itself** ), 

and then do some analysis.But the trouble is ,the source files name are the same, if I use 

“`cp -r /data/data/*/webview.db /sdcard/test`" 

there is always only one file in the target directory,I was not so good at linux shell 

command, so I want to know how to copy to the target directory and change the filename or just

keep the source directory structure like /sdcard/test/package/webview.db . I'm Chinese and my

English is not so well, hope you can understand it ,Thank you !