Fix copy issue in https://github.com/mesos/spark/pull/899

This was reported in https://github.com/mesos/spark/pull/899. I'll fix it myself since it's a one-liner.