Copy source before reading version