create intermediate directories when copying resources
export