def copy(candidate_id, member_id, shortcode, stage = nil)
      body = {
        member_id: member_id,
        target_job_shortcode: shortcode,
        target_stage: stage
      }

      response = post_request("candidates/#{candidate_id}/copy") do |request|
        request.body = body.to_json
      end

      @transform_to.apply(:candidate, response['candidate'])
    end
def copy(candidate_id, member_id, shortcode, stage = nil)
      body = {
        member_id: member_id,
        target_job_shortcode: shortcode,
        target_stage: stage
      }

      response = post_request("candidates/#{candidate_id}/copy") do |request|
        request.body = body.to_json
      end

      @transform_to.apply(:candidate, response['candidate'])
    end
copy a candidate to another job
 @param candidate_id [String] the candidate's id
 @param member_id [String] id of the member performing the copy
 @param shortcode [String] shortcode of the job that the candidate will be copied to
 @param stage [String] stage the candidate should be copied to