copy log4j.properties and spark-env.sh if exists