mkdir copy img file