copyAsset: check if file exists before copying