copy to server and store locally (copy to server not working)