Fixed file copy part of LT-14177

Change-Id: I5888264c421428fe9bbed261290a4087f12ab940