Add file.copy state

@UtahDave can you please double check this? fix for #6440