Added -p (preserve) switch to cp in tidy mode.