An admirable attempt, but you copypasted a bit of BATCH/Bash into your Java code, which will not work.
An easier way around might be to figure out how to copy a file in Java on Android.