I am moving files from one folder to another destination1 to destination2 however if destination2 already has a copy of the file from destination1 I would like to simply skip and continue the copy process rather than overwriting which will take a longer process.
I have already tried: FileSystem.CopyFile(destination1,destination2, true);which will overwrite the file. Is there anyway I could get some assistance on accomplishing this please.


Question: How to access beans from the applicationContext.xml in my service layer.
Answer: Had a similar question. May be this link will be of help.
Spring MVC 3.0 - Service layer using annonations 

Create a map of the values in dispatcher-servlet.xml and access it programmatically in your class. Or better inject the values to your bean in the xml file itself.
If you would rather have these values as environmental variables, that is also possible in Spring. Use a "propertyplaceholderconfigurer" for reading the external variables.
Let me know if you need further help.