copy to vm