d2: modify the updater script to support copying to destination

Change-Id: I273770bfe9b93e49e361c3a2c1cec6310d7fd2fd
Merge "d2: modify the updater script to support copying to destination" into cm-10.2
copy nvram to _semcosh for open source macloader

Change-Id: Ie9df89caf5a7dbc8adf09cb5e2c5df67b880c15e
Merge "copy nvram to _semcosh for open source macloader" into cm-10.2
Merge branch 'cm-10.2' into martincz