Revert "if is not an archive, always copy"
This reverts commit 1388fb14b9d9dd296370e0067c5a8f4de6987ea2.