JBOSS-20: changed cp to copy the downloaded file to avoid errors deploying