copy ec directory for install