i have an applescript that goes something like this

CODE
do shell script "rm -r /System/Library/File1"  with administrator privileges
do shell script "cp File2 /System/Library/File1"  with administrator privileges


but i want to replace file 2 with a file that i drag on to the application

how can i do this? (in apple script or automater)