Copy and filter main/test resources