Update pom.xml

replace the use of copy maven plugin with the standard resource plugin.