unfortunately this is not possible if the files have been attached to the task directly. Would be different if the files are added to Google Drive or Dropbox as then the shared link can just be added to the subtask.
Now if the files were attached with a comment then you can copy the comment link, however that won’t move the files either.
Here is an existing feedback request thread for you to upvote: