Reduced memory usage a bit for copyFileBackend.php with --missingonly.

Change-Id: Iae650b5c3a5f99c5b2e31e29c276957ea6b8bb50
(cherry picked from commit f8af77dd9dd59b2aeaf849596d0d2fb14fe46675)