[scripts] fix cp when /boot is on vfat and there are symlinks