trying to move file to different location(in project folder)
<p>I am trying to move file to project folder using this following code.  The code is getting the file from the user, however it is not moving to the new location.  Can someone please help me.  Thank you in advance    </p>

<pre><code>@FXML private void setNewPhotoButton(ActionEvent event){
        Stage currentStage = (Stage) newPhotoButton.getScene().getWindow();

        FileChooser fileChooser = new FileChooser();
        fileChooser.setTitle("Choose an image");
        fileChooser.getExtensionFilters().addAll(
                new FileChooser.ExtensionFilter("Image Files", "*.png", "*.jpg", "*.gif"));

        File f = new File("photos/");
        fileChooser.setInitialDirectory(f);
        File selectedFile = fileChooser.showOpenDialog(currentStage);

        if(selectedFile != null){
            //System.out.println("C:/" + selectedFile.getPath());
            //System.out.println("userfiles/"+UNAME+"/"+ANAME+"/");
            File src = new File(selectedFile.getPath());
            File dest = new File("userfiles/"+UNAME+"/"+ANAME+"/");
            Path sr = src.toPath();
            Path ds = new File(dest,src.getName()).toPath();
        }

    }
</code></pre>