do script copy hangs

I have a function to move a file from one place to another which fails to return ever. The file does get coppied but the function does not end.

on moveFile(fileName, newLocation)
	try
		do shell script "cp " & (quoted form of fileName) & space & (quoted form of newLocation)
	end try
end moveFile

why would this happen?

-EDIT-

Sorry. Idiot mistake. The file I was testing with was quite large. This actually does work.