package com.bradmcevoy.http;

/**
 * webDAV COPY
 */
public interface CopyableResource extends Resource{
    void copyTo(CollectionResource toCollection, String name);
}

package com.bradmcevoy.http;

import com.bradmcevoy.http.exceptions.BadRequestException;
import com.bradmcevoy.http.exceptions.ConflictException;
import com.bradmcevoy.http.exceptions.NotAuthorizedException;

/**
 * webDAV COPY
 */
public interface CopyableResource extends Resource{
    void copyTo(CollectionResource toCollection, String name) throws NotAuthorizedException, BadRequestException, ConflictException;
}

add checked exceptions