Adapt subtasks copy when copying a project (#6965).
Authored by: jplang 2012-09-08
Parent: [r10327]
Child: [r10329]