Pattern Replication by Confined Dewetting